Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / PrintManager Class / UpdatePageNumberAndPageSettings Method / UpdatePageNumberAndPageSettings(IList<PageInfo>,Int32,Int32) Method
The page collection.
The page number of the first page.
The total number of pages.
In This Topic
    UpdatePageNumberAndPageSettings(IList<PageInfo>,Int32,Int32) Method
    In This Topic
    Update the page number, page count and page settings of each page. When the page collection changes (add, delete, move), you need to call this method to update the pages information.
    Syntax
    public void UpdatePageNumberAndPageSettings( 
       System.Collections.Generic.IList<PageInfo> pages,
       System.int firstPageNumber,
       System.int pageCount
    )

    Parameters

    pages
    The page collection.
    firstPageNumber
    The page number of the first page.
    pageCount
    The total number of pages.
    See Also